﻿using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;

/**
 * 创建时间：2014/11/28 11:36:38
 * 作者：yong.blackcore
 * Email：itblackhole@outlook.com
 * QQ：50404503
 */
namespace ComicIsland.Common.Entities.InterfaceJson
{
    [DataContract]
    public class Comicssource
    {

        [IgnoreDataMember]
        public bool IsUserSelectedFlag { get; set; }

        [DataMember(Name = "book_id")]
        public int BookId { get; set; }

        [DataMember(Name = "totalpart")]
        public int Totalpart { get; set; }

        [DataMember(Name = "updatemessage")]
        public string Updatemessage { get; set; }

        [DataMember(Name = "updatedate")]
        public string Updatedate { get; set; }

        [DataMember(Name = "source_name")]
        public string SourceName { get; set; }

        [DataMember(Name = "progresstype")]
        public int Progresstype { get; set; }
    }

    [DataContract]
    public class JsonComicsDetailSourceInfo
    {

        [DataMember(Name = "comicssource")]
        public ObservableCollection<Comicssource> Comicssource { get; set; }
    }

    [DataContract]
    public class JsonComicsDetailSource
    {

        [DataMember(Name = "code_msg")]
        public string CodeMsg { get; set; }

        [DataMember(Name = "code")]
        public int Code { get; set; }

        [DataMember(Name = "info")]
        public JsonComicsDetailSourceInfo Info { get; set; }
    }
}
